<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
    <link rel="stylesheet" href="../css/common.css">
    <style>
        div {
            padding: 20px;
        }

        ul {
            margin: 20px 0px;
        }

        li {
            margin: 5px 0px;
        }

        span {
            display: inline-block;
            width: 30px;
            text-align: center;
        }

        button {
            padding: 0 5px;
            margin: 0 2px;
            user-select: none;
        }
    </style>
</head>

<body>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
    <script src="js/index.js"></script>
    <script>
        $(function(){
            $.index.main()
        })
    </script>
    <div>
        <ul>
            <li class="flex">
                <span>A.</span>
                <input type="text">
                <button class="del">-</button>
                <button class="s">↑</button>
                <button class="x">↓</button>
            </li>
            <li class="flex">
                <span>B.</span>
                <input type="text">
                <button class="del">-</button>
                <button class="s">↑</button>
                <button class="x">↓</button>
            </li>
            <li class="flex">
                <span>C.</span>
                <input type="text">
                <button class="del">-</button>
                <button class="s">↑</button>
                <button class="x">↓</button>
            </li>
        </ul>
        <button class="add">添加选项</button>
    </div>

</body>

</html>